package org.example.commerce.imp.service;

import com.github.pagehelper.PageInfo;

import org.example.commerce.api.beans.ModifyUserParam;
import org.example.commerce.api.beans.NewUserParam;
import org.example.commerce.dao.entity.Category;
import org.example.commerce.dao.entity.User;
import org.example.common.response.R;

import javax.servlet.http.HttpServletRequest;


import org.example.commerce.dao.entity.Category;
import org.example.common.response.R;


public interface CategoryService {

    R<PageInfo<Category>> getCtaegoryList(Integer page, Integer pageSize);

    R<Category> addCategory(Category category);

    R<String> deleteCategoryById(Long id);

    R<Category> selectCategoryById(Long id);

    R<Category> modifyCategory(Category category);
}
